colorswatch: Remove dead assignment
authorTimm Bäder <mail@baedert.org>
Sun, 19 Aug 2018 15:31:24 +0000 (17:31 +0200)
committerTimm Bäder <mail@baedert.org>
Sat, 25 Aug 2018 06:06:18 +0000 (08:06 +0200)
gtk/gtkcolorswatch.c

index edf3bcc76ecbc5e9239b7204559f48c1ee7ea431..2318f469487e1dc6fce7e1424f38266c4e537bf6 100644 (file)
@@ -380,8 +380,6 @@ gtk_color_swatch_measure (GtkWidget *widget,
   GtkColorSwatchPrivate *priv = gtk_color_swatch_get_instance_private (swatch);
   gint w, h, min;
 
-  swatch = GTK_COLOR_SWATCH (widget);
-
   gtk_widget_measure (priv->overlay_widget,
                       orientation,
                       -1,